#!/usr/bin/python

x = ""
while x != "q":
    print "hello"
    x = raw_input("please input something,q for quit,c for continue:")
    if not x:
        break
    if x == "c":
        continue
    print "one more time~~~"
else:
    print "ending..."
   
